name_list = ['张三', '李四', '王五', '赵六', '钱七']
i = 0
# 这里会有错误 索引越界
while i <= len(name_list):
    print(name_list[i])
    i += 1
